package cn.yuanqiao.archive.storeRoom.domain;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.List;

public class TreeStore {
    private static final long serialVersionUID = 1L;
    /** 节点ID */
    private String id;

    /** 节点名称 */
    private String label;

    /** 租户编码 */
    private String tenantCode;

    /** 类型 */
    private Integer type;

    /** 元数据模板id*/
    private Long groupId;

    private Integer isUse;

    /** 排序 */
    private Integer order_no;

    /** 分类节点类型 */
    private String propertyName;

    /** 分类节点值 */
    private String propertyValue;

    /** 门类节点门类id*/
    private Long categoryId;

    /** 全宗节点全宗id */
    private Long fondsId;

    private String fondsCode;

    /** 节点类型 */
    private String nodeType;
    /** 分表名*/
    private String subTableName;
    /** 子节点 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<TreeStore> children;

    public TreeStore()
    {

    }

    public String getFondsCode() {
        return fondsCode;
    }

    public void setFondsCode(String fondsCode) {
        this.fondsCode = fondsCode;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<TreeStore> getChildren() {
        return children;
    }

    public void setChildren(List<TreeStore> children) {
        this.children = children;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    public Integer getOrder_no() {
        return order_no;
    }

    public void setOrder_no(Integer order_no) {
        this.order_no = order_no;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getPropertyValue() {
        return propertyValue;
    }

    public void setPropertyValue(String propertyValue) {
        this.propertyValue = propertyValue;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getFondsId() {
        return fondsId;
    }

    public void setFondsId(Long fondsId) {
        this.fondsId = fondsId;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public Integer getIsUse() {
        return isUse;
    }

    public void setIsUse(Integer isUse) {
        this.isUse = isUse;
    }

    public String getSubTableName() {
        return subTableName;
    }

    public void setSubTableName(String subTableName) {
        this.subTableName = subTableName;
    }
}
